package com.hp.bon.sgw.wh.utils;

import java.util.HashMap;
import java.util.Map;

public class StringUtil {


    private static Map<String,String> regionIdAreaCodeMap=new HashMap<String, String>();
    static {
        regionIdAreaCodeMap.put("1001","027");
        regionIdAreaCodeMap.put("1003","0710");
        regionIdAreaCodeMap.put("1007","0711");
        regionIdAreaCodeMap.put("1006","0712");
        regionIdAreaCodeMap.put("1004","0713");
        regionIdAreaCodeMap.put("1011","0714");
        regionIdAreaCodeMap.put("1008","0715");
        regionIdAreaCodeMap.put("1018","0716");
        regionIdAreaCodeMap.put("1005","0717");
        regionIdAreaCodeMap.put("1013","0718");
        regionIdAreaCodeMap.put("1017","0719");
        regionIdAreaCodeMap.put("1009","0719");
        regionIdAreaCodeMap.put("1012","0722");
        regionIdAreaCodeMap.put("1010","0724");
        regionIdAreaCodeMap.put("1014","0728");
        regionIdAreaCodeMap.put("1015","0728");
        regionIdAreaCodeMap.put("1016","0728");
    }
    /**
     * regionId 和 Area_Code 相互转换
     */
    public static String getRegionId(String regionId){
        return regionIdAreaCodeMap.get(regionId);
    }
}
